package mya.mes.mdc.model.alarm2;

import mya.common.model.entity.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 报警发送记录
 */
@Entity
@Table(name = "MDC_ALARM_DISPATCH")
public class MdcAlarmDispatch extends BaseEntity {

    /**
     * 是否发送到业务人员
     */
    protected Boolean toPerson;

    /**
     * 发送业务人员的MdcDispatchContent
     */
    protected Long pContentId;

    /**
     * 是否发送到管理人员
     */
    protected Boolean toManager;

    /**
     * 发送管理人员的MdcDispatchContent
     */
    protected Long mContentId;


    public Boolean getToPerson() {
        return toPerson;
    }

    public void setToPerson(Boolean toPerson) {
        this.toPerson = toPerson;
    }

    public Long getpContentId() {
        return pContentId;
    }

    public void setpContentId(Long pContentId) {
        this.pContentId = pContentId;
    }

    public Boolean getToManager() {
        return toManager;
    }

    public void setToManager(Boolean toManager) {
        this.toManager = toManager;
    }

    public Long getmContentId() {
        return mContentId;
    }

    public void setmContentId(Long mContentId) {
        this.mContentId = mContentId;
    }
}
